-
Notifications
You must be signed in to change notification settings - Fork 1
perf: improve array/hash operation #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7 new issues
|
| end | ||
| end | ||
|
|
||
| def assign_many_to_one_records(caller, records, name, field_schema, projection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| records.each { |record| record[name] = sub_records_by_key[record[field_schema.foreign_key]] } | ||
| end | ||
|
|
||
| def assign_to_one_or_many_records(caller, records, name, field_schema, projection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...ges/forest_admin_datasource_mongoid/lib/forest_admin_datasource_mongoid/parser/validation.rb
Show resolved
Hide resolved
...ges/forest_admin_datasource_mongoid/lib/forest_admin_datasource_mongoid/parser/validation.rb
Show resolved
Hide resolved
| end | ||
| end | ||
|
|
||
| validations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Coverage Impact This PR will not change total coverage. Modified Files with Diff Coverage (14) 🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
## [1.19.3](v1.19.2...v1.19.3) (2026-01-05) ### Performance Improvements * improve array/hash operation ([#247](#247)) ([9ca00fc](9ca00fc))
|
🎉 This PR is included in version 1.19.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

Definition of Done
General
Security